/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.ec.cobranding.entity.Marketingxml
   Module Description   :

   Date Created      : 2011/2/14
   Original Author   : afra.chou
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.cobranding.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.yaodian100.core.common.entity.BaseEntity;

/**
 * @author afra.chou
 * 
 */
@Entity
@Table(name = "EC_MARKETING_XML")
public class Marketingxml extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1127320062085259749L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO, generator = "seq_ec_marketing_xml")
	@SequenceGenerator(name = "seq_ec_marketing_xml", sequenceName = "SEQ_EC_MARKETING_XML")
	@Column(name = "ID")
	private String id;

	/** 類別 **/
	@Column(name = "XML_TYPE", length = 20)
	private String xmlType;

	/** XML內容 **/
	@Column(name = "XML_CONTENT", length = 3000)
	private String xmlContent;

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the xmlType
	 */
	public String getXmlType() {
		return xmlType;
	}

	/**
	 * @param xmlType the xmlType to set
	 */
	public void setXmlType(String xmlType) {
		this.xmlType = xmlType;
	}

	/**
	 * @return the xmlContent
	 */
	public String getXmlContent() {
		return xmlContent;
	}

	/**
	 * @param xmlContent the xmlContent to set
	 */
	public void setXmlContent(String xmlContent) {
		this.xmlContent = xmlContent;
	}

}
